C1.LiveLinq Namespace > Hints Class > Indexed Method : Indexed<T>(T) Method |
Current default action is defined by the value of the static DefaultAction property. By default, it is IndexingHintAction.Optional.
Use the other Indexed overload if you need a hint with non-default action.
A hint does not change the value of the expression it is applied to. It only tells LiveLinq query optimizer to create and use an index on that expression, if possible. In fact, hints are removed from the expression before it is executed.
See Also: How to create indexes.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2